setLayoutMode

open fun setLayoutMode(@NonNull group: ViewGroup, mode: Int)(source)

Deprecated

Call setLayoutMode directly.

Sets the basis of alignment during the layout of this ViewGroup. Valid values are either LAYOUT_MODE_CLIP_BOUNDS or LAYOUT_MODE_OPTICAL_BOUNDS.

Parameters

group

ViewGroup for which to set the mode.

mode

the layout mode to use during layout operations

See also